﻿using HZH_Controls.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using 渐变.model;

namespace 渐变
{
    public partial class FrmNotice : FrmBase
    {
        private notice _notice;
        public FrmNotice(notice notice)
        {
            InitializeComponent();
            _notice = notice;
        }

        private void FrmNotice_Load(object sender, EventArgs e)
        {
            this.labContent.Text = _notice.contentText;
            this.labCreateUser.Text = _notice.opername;
            this.labTime.Text = _notice.createtime.ToString("yyyy-MM-dd HH:mm:ss");
            this.labTitle.Text = _notice.title;
        }

        private void label2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
